package homework4;

public class Simulator {
	public void playSound(Animal animal) {
		animal.cry();
		System.out.println("播放"+animal.getAnimalName()+"的声音");
	}

}
